@import "../../../styles/base";

@function tovw($size) {
  @return #{$size / 3.6}vw;
}

body {
  background: #ccc;
}

.OpenBox {
  width: tovw(280);
  height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;

  header {
    width: tovw(223);
    height: tovw(105);
    background: url("./../images/header.png") center center / 100% 100% no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -7vw;
    z-index: 1;

    h3 {
      height: 11vw;
      font-size: tovw(17);
      color: #FFFFFF;
      letter-spacing: 0;
      font-weight: 900;
    }
  }

  article {
    text-align: center;
    width: 100%;
    background: #FFFFFF;
    border-radius: tovw(9);
    padding-top: 10vw;
    overflow: hidden;
  }

  footer {
    .close-btn {
      width: tovw(30);
      height: tovw(30);
      margin-top: tovw(15);
      background: url("./../images/close.png") center center / 100% 100% no-repeat;
    }
  }
}
